package com.thm.tfast.modules.sys.mapper;

import com.thm.tfast.modules.sys.model.SysUser;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * <p>
 * 用户信息 Mapper 接口
 * </p>
 *
 * @author THM
 * @since 2022-10-10
 */
@Repository
public interface SysUserMapper extends BaseMapper<SysUser> {
    /**
     * 获取资源相关用户ID列表
     */
    List<Long> getUserIdList(@Param("resourceId") Long resourceId);
}
